package pro.lingwu.station.dao;

import org.apache.ibatis.annotations.Mapper;
import pro.lingwu.station.dto.db.Ticket;

import java.util.List;

/**
 * @author @lingwu
 * @date created in 2021/11/17
 */
@Mapper
public interface TicketMapper {

    void addTicket(Ticket ticket);

    void rmTicket(int id);

    List<Ticket> findTicketBy(Ticket ticket);

    void updateTicket(Ticket ticket);
    
}
